<template>
  <ph-view>
    <ph-blockquote type="primary">该组件为独立组件<br/><a href="https://www.npmjs.com/package/ph-datetimepicker" target="_blank">npm 地址</a></ph-blockquote>
    <ph-tab>
      <ph-tab-panel title="案例展示">
        <ph-preview url="/datetimeBtn-free"/>
        <DemoCmp/>
      </ph-tab-panel>
      <ph-tab-panel title="基本介绍">
        <ph-pretty>{{ baseUsage }}</ph-pretty>
      </ph-tab-panel>
    </ph-tab>
  </ph-view>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import {
  PhTab,
  PhTabPanel,
  PhBlockquote,
  PhView,
} from "@/index";
import DemoCmp from "./free/datetime-btn.vue";
import * as Data from "../data/datetime";
export default defineComponent({
  components: { DemoCmp, PhTab, PhTabPanel, PhBlockquote, PhView },
  setup() {
    return { ...Data };
  },
});
</script>
